package com.hanxiaozhang.base.service;

import com.hanxiaozhang.base.dto.JobTaskDTO;
import com.hanxiaozhang.base.entity.JobTaskEntity;

import java.util.List;
import java.util.Map;

/**
 * 定时任务
 * 
 * @author hanxiaozhang
 * @email hanxiaozhang2018@sina.com
 * @date 2021-04-29
 * @since 1.0.0
 */
public interface JobTaskService {
	
	JobTaskEntity get(Long id);
	
	List<JobTaskDTO> list(Map<String, Object> map);
	
	int save(JobTaskEntity jobTask);
	
	int update(JobTaskEntity jobTask);
	
	int remove(Long id);

	int batchRemove(Long[] ids);

	void updateStatus(Long id, Integer jobStatus);

}
